<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0"/>
    <title>个人中心</title>
    <script type="text/javascript" src="{{ asset('/home/js/responsive.js')}}"></script>
    <link rel="stylesheet" href="{{ asset('/home/css/base.css')}}"/>
    <link rel="stylesheet" href="{{ asset('/home/css/personal.css')}}?version=6"/>
</head>
<body>
<div class="yc_layout">
    <div class="head">
        <div class="top"></div>
        <div class="headimg">
            <img src="{{asset($user->img)}}" alt="" class="myimg">
            <a href="{{ url('edit') }}"><img src="{{asset('/home/images/u4.png')}}" alt="" class="edit"></a>
        </div>
        <p class="nickname">昵称：<span>{{ $user->name }}</span></p>
        <p class="username">ID：<span>{{ $user->mobile }}</span></p>
        <p class="jihuo">
            @if($user->status == 0)
                <a href="{{ url('jihuo') }}">未激活</a>
            @endif
        </p>
    </div>
    <div class="account">
        <div class="left">
            <p class="money">{{$data['total']}}</p>
            <p class="text">账户总额(元)</p>
        </div>
        <div class="left">
            <p class="money">{{$data['balance']}}</p>
            <p class="text">余额(元)</p>
        </div>
        <div class="left">
            <p class="money">{{$data['today']}}</p>
            <p class="text">今日(元)</p>
        </div>
    </div>
    <div class="tixian">
        <a href="{{ url('tixian') }}"><img src="{{asset('/home/images/u2.png')}}" alt=""></a>
    </div>
    <div class="qita">
        <table>
            <tr>
                <td>
                    <a href="{{ url('tixian_record') }}">
                        <img src="{{asset('/home/images/m1.png')}}" alt="">
                        <p>提现记录</p>
                    </a>
                </td>
                <td>
                    <a href="{{ url('team') }}">
                        <img src="{{asset('/home/images/m2.png')}}" alt="">
                        <p>我的团队</p>
                    </a>
                </td>
                <td>
                    <a href="{{ url('record') }}">
                        <img src="{{asset('/home/images/m5.png')}}" alt="">
                        <p>佣金记录</p>
                    </a>
                </td>
            </tr>
            <tr>
                <td>
                    <a href="{{ url('mycard') }}">
                        <img src="{{asset('/home/images/m4.png')}}" alt="">
                        <p>我的名片</p>
                    </a>
                </td>
                {{--<td>--}}
                    {{--<a href="{{ url('guide') }}">--}}
                        {{--<img src="{{asset('/home/images/m3.png')}}" alt="">--}}
                        {{--<p>新手指南</p>--}}
                    {{--</a>--}}
                {{--</td>--}}
                <td>
                    <a id="ibangkf" href="http://www.ibangkf.com">
                        <img src="{{asset('/home/images/m3.png')}}" alt="">
                        <script type="text/javascript" src="http://c.ibangkf.com/i/c-jddadtop.js"></script>
                        <p>在线客服</p>
                    </a>
                </td>





            </tr>
        </table>
    </div>

    {{--底部--}}
    <div class="footer">
        <div class="left">
            <a href="{{ url('/') }}">
                <div class="img"></div>
                {{--<img src="{{asset('/home/images/p1.png')}}" alt="">--}}
                <span>我要赚钱</span>
            </a>

        </div>
        <div class="left">
            <a href="{{ url('personal') }}">
                <div class="img"></div>
                {{--<img src="{{asset('/home/images/p1.png')}}" alt="">--}}
                <span>会员中心</span>
            </a>
        </div>
    </div>
</div>
</body>
</html>